Fix typo in variable name; numberToGuess not correct in loop conditionals