A queue implemented with stacks