For "n"=0 to 20
...System create Brick at (100+loopindex*50, 200)
Where 100 is the offset from the left edge of the layout, 50 is the width of brick sprite.
If you don't need to apply different animations/behaviors/effects to each individual brick, then it's better to use one TileMap object instead of many sprites.