Added handling for input of y, n, or gibberish.