Heapsort works with new Node constructor now