Hangman Game coded in Java