Rubik's cube rappresentation and relative mover in PHP.