Thank you very much for the reply!

May I ask what is the terrain function for? Is it a separate program for creating terrains? or is it an actual function you can call in the main?