Heap sort implemented and Priority queue changed to be available for easy use in heap sort