Heapsort() completed.
Heapify(), Heapsort() partially complete.

Heapify is complete(), but only for a min heap. Need to allow min or max
to be specified, as it will be required for the completion of
Heapsort().