Finished Heap Sort