Document PriorityQueue.

Add examples to methods.