finished longestWord