added random_cube object for generating random cubes