Working insert and delete for MinHeap