Added buildCorpusFreq
Added buildCorpusFred