first try at OOP hangman with 2 questions
fixed bug when word is guessed