Changed heapsort to use a class