Update getwords.py