@Override public String toString(){
  return String.format("CubePos(%d, %d, %d)",cubeX,cubeY,cubeZ);
}

@ Override public String toString ( ) { return String . format ( "CubePos(%d, %d, %d)" , cubeX , cubeY , cubeZ ) ; }
gets the coordinates of the cube as a string .
