MyHeap class created.