Cube Size generic, Random cube creator

now create random cubes on position.

generaise the code.
randomizing and checking.. Unstable.
Merge pull request #1 from Kshitij-Banerjee/master

j