Draw rows of squares pattern

thank you for your help! I’ll look into that