Implemented Heap Sort using the DeleteMax element. Removed the heap_type property of the heap because code has been written strictly for a max heap.