Added implementation to the heapify operation to AbstractHeap