a simple number guessing game, (re)built for reviewing purposes