Tile-generator easy code

I made this cool tile-generator. It would generate a block to start to end from left to right.

example