created TerrainGenerator.js (still issues)