changing class name to MaxHeap