Exercise_10:heap sort completed