plot_tiles function

Plot n-by-n tiles.