update wordgame.py