User input validation for yYnN

Basic user validation function to valid input for y/n questions instead of letting any answer go through.