A Python implementation of Hangman