using arrays to hold queues