added minHeap in C++