Added TaskFunctionsForMinHeap class to Task.h

In order to use Heap in a generic way as a minimum heap