Solve container capacity checking with Stack Uses three visitors nested to level three. Shows how to use externally defined classes (here Stack).