Adds TopN utility.
Merge pull request #1 from gilt/PR-TopN

Adds TopN utility.