Update Cube.java

fixed