Higher Dimensional Cubes Method For Math