Yay heapsort works