CubeCreator: The main logic
 
 
 

CubeCreator does the following operations: