a solution for Hangman game from Strikingly interview