fixed 6 sec bug; changed sorted_pq implementation; begin pairing heap