Added a terrain generator sample.