Adding homework

Right now, if someone inputs a string of letters as a guess, when you call `.to_i` it will be evaluated to 0. As a small improvement you could add a check to make sure that their input is a number, and return some kind of message if it's not.