First attempt at hangman both console and swing version