Implements MaxPriorityQueues, DWayHeap and YoungMatrix