Exercises about queues