Create cube.java