done with two more assignments: frequency.py and term_sentiment.py