Leftist heap implementation
Implementation for pairing heaps.