Added program to demonstrate using arrays as stacks and queues