minor changes in heap sort <main> --> <max> rename