Implement a queue using two stacks.