Update heapsort.c