Reimplemented leftist heap