Hangman game written in java.