Hangman Java main file which links other classes