added new functions to validate user guess and warmer colder function