Create magicCube.cpp