completed the wordcount.py task