A simple hangman game in Python