MaxHeap implemented in Array