A game of command line Hangman coded in Java