Completed TileMap class