buildDict now writes words in order of occurrences

The program now:
1) keeps a running tally of how many occurrences of a word appear
2) sorts those words by number of occurrences
3) writes the words in descending order