The algorithm flooring an area of 2D dimension matrix with variable inputs. For each rectangle, the values of his width and height are separately uniform distributed between 20 to 100 cm, with jumping of 10 cm. The width and height of the area are 10x10.
Produces randomly rectangles according to the defined values.
The main algorithm whose function is to adjust the size of the rectangle and place it in the defined area.
To display and illustrate the rectangles we have arranged inside a plot in varying colors.