Basic terrain basically working. Switch / case structure temporary, replace later with multi-dimensional array where cubeIndex points to correct index array