extract_max and get_heap_maximum methods implemented.