Just a sample implementation of a HeapSort and MaxHeap