Change hangman to template