Implemented a queue with two stacks