Update solveCube.java