Implemented Queues and improved stacks