first cut at topN heap
topN in place
fixed a bunch of compiler warnings; wrote function to get topN data points
topN feature fully working