Problem 3.3 - Set of stacks with max capacity