GUI and console version of the Hangman game