Add StackWithQueues.