for x:1..maxx by 20 for y:1..maxy by 20 drawbox (x,y,x+20,y+20,green)