This class takes user input and determines the longest word of the sentence. It also keeps track of the longest word ever of all sentences entered.