Added menu options, take user input and exit of option greater than 6