Added PriorityQueue and test.