CLI Guessing game from exercise 3.2.1, fixed an error