Updated dequeue method of priority queue.
Added tests for the priority queue.