Generates a world based on three variables, Start, Smoothness, and Hill Extremity If the grass or dirt gets too high it will turn to snow. Ported to JavaScript on Khan Academy: https://www.khanacademy.org/computer-programming/land-generation/4514799832612864