further working on TerrainMap

visitor added for Array1D, Array2D.
Worked on TerrainMap