command line hangman in ruby