Random Generation Concept?

I somewhat made random generation with blocks. Here it is.