initial version
Merge pull request #1 from vsriram77/topNdist

topNdist: looks good!