Hangman game written in Python