in the following code the input is given at whole and then using heapsort (at first with happify) convert to a max-heap.
I want to insert keys one by one