Leftist heap implementation