Task 3 for Word Freq