CoderByte longestWord Solution