Implemented PriorityQueue, and finished Queue interface.