Java 2D  cube project