Finish simulate queue with 2 stacks