Implementation for pairing heaps.
Clean-up