Program loops each word and gets longest word