completing stacks and queues from Arrays lesson