Update minheap.cpp