This is a simple example for creating a grid of block with random height. Three roads are defined with blocks of limited height and black color.
The file is not packaged as a SketchUp extension (.rbz). You need to copy the content of the cubes.rb file into SketchUp's built-in Ruby editor and run the code.