Implemented terrain generator for Dart version