a console hangman game in ruby