My first attempt at hangman in ruby