Added a topK selection method which takes a comparator argument
Implemented method to compute frequency map top k entries, experimental tests on n-grams frequency maps