Remove imports from Heapsort