Implementation of a DHeap