Added terrain read and print functions