improve HeapSort.java