finished wordfreq.py