Added MinHeap implementation