Hangman game in Ruby