Began implementing Heapsort