PriorityQueue example