Wrote the Tile classes rendering method.