Generating random shapes with either constat shape or constat color.