Change the program so that there are 10 squares in a row.
Increase the gap between the squares. You can do that by changing 10*i to 20*i
Draw a vertical row of squares
Each square starts in the same place but they all have different sizes.