Adding the guessing game in ruby