Hangman exercise written in Ruby.