Finished longest_word exercise