priority queues with class objects