Some old code that shows 2 ways of creating procedurally generated 2D environments.