Queue class using two stacks is implemented