Using other priority queue class

Doesn't mess up when removing elements (at least, not that I know of)