fixed numberOfCubes as 9 for grid and 10 for others .  split a function in two
Merge branch 'master' of https://github.com/pekaaw/cogARC