Finished the file parsing.

Add functions to terrain for adjusting the x and y ranges.
Add the print functions to terrain.
Add the generation calculations to terrain.