Hangman code in various languages