relocate the heapsort location and add priority Queue code by using
maximum priority Queue