wrote the convertGuess function
wrote the convertGuess function