Queuepq

Queue as priority queue

priority decreasing monotonically