Geometric object generators - d-cubes

Test program generates a vector containing a grid of points
in d dimensions