letter guessing and validation