extractmaxkey

Extract max key

Extracting max/min key from the max/min heap