adding algorith for implementing Queue with two stacks