Add Dequeue code to Priority Queue

Took dequeue code from ArtQueue and put it into the Priority queue
decode method since it works the same way.