Update calcwords.py