Deleted the wrong maxHeap function