A simple generic Priority Queue using binary heap.