Messing around with priority_queue classes