Implemented TileMap (slow...).