Working version of guessing game