Added a generate terrain function to Chunk that uses perlin noise.