def longestWord(filename):
Takes in a file name and returns the longest word
in the file, or, if there is a tie, the first longest word
"In the case of a tie, the 1st occurrence of the longest word is returned."
--> need to clarify that the first occurrence of the longest word depends on the ASCII ordering.
"In the case of a tie, the 1st occurrence of the longest word is returned."
--> need to clarify that the first occurrence of the longest word depends on the ASCII ordering.