Priority queue is now working!