Implemented Sorting Bug & Added JavaDocs

Implementing the word count dictionary as a BST map and lower casing all
words added to the dictionary is enough to properly sort the dictionary.

A sorting method was added in case the implementation of the word count
dictionary is changed.

Proper documentiation was also added.