Heapsort working!