Create maxheap