def paint_pattern(self):
x = <NUM_LIT:0><EOL>while x < self.width:<EOL><INDENT>y = <NUM_LIT:0><EOL>while y < self.height:<EOL><INDENT>self.paint_cube(x, y)<EOL>y += self.cube_size<EOL><DEDENT>x += self.cube_size<EOL><DEDENT>
Paints all the cubes.