Digital Rubik's Cube in Java