add PRIM/HeapSort