how to generate square flat terrain?

thanks a lot!