secret number game (with classes)