Constructor for a maxheap
Create a new maxheap Input: max_size - maximum number of elements in the heap