stack made of queues