Added class FreqDict