Fix error with PairingHeap creation of merge, introduce key and cmp functions as param