HeapSort: Given an unordered Array, create a Max Heap and then Sort it