max heap & heap sort done & Q5 kth element