Added MaxHeap implementation and associated tests