implementation of stacks and queues