A hangman game using rails