made a separate module for the hangman game