TileMap graphic class

Somewhat unoptimised