Coded the method to split a rectangle in several rectangles.
Code function to add stacks to a container + associated tests.