Command-line Ruby Hangman game