getNames(txt,n) now returns top n names that occur in txt in of order of occurrences