Binary heap priority queue.