completed wordcount.py