Simulates a rubiks cube in 2 dimensionally