command line hangman with ruby