how do I make sure that the user has entered a character contained in the alphabet