I have a small task to create a function that can fill a rectangle with a certain number of identical rectangles, and return a vector with them. I found an algorithm that ca