Update hangman.py

now stops when word is fully known