Code example for PriorityQueue

Methods: offer, remove