update stack and queue

update stack and queue