Finish simulate stack with 2 queues