Worked on implementation of priority queue.