changelog:
    * made heaps generic (thru interfaces)
    * removed heapSort
    * made pq explicitly int32 bassed (and corrected to use new MaxHeap)