adding longest-lines and reverse-words