added implementation for MaxHeap