using Lists as Queues