Added validation of user guess, this can be neater of course...