notes on heapsort added