Compute max_freq separately from sorted_words.

This speeds things up in the case where you only ever need to look up frequencies, rather than needing the entire sorted list.
Merge pull request #2 from commonsense/faster_max_freq

Compute max_freq separately from sorted_words.