Stack of stacks implemented