Prints number of times words occur in text.
Reviewed and finished
Merge wordcount.py.