Added a MinHeap using inheritance and lambdas