updated Line 46 to use [LongestWord[1].word