added priority queues, exercise b1