A nice cube

cube.java source code