refactoring some code and commit hangman game
refactoring some code and commit hangman game