Add PriorityQueue class.