Moved the readUserInput method into an InputUtility class.