Fixed bugs in Heap, heapSort() in SortAlgos works