priority queue using circular queue