static and cin function
A guessing game where the player guesses the secret number