User input validation for yYnN

Basic user validation function to valid input for y/n questions.