Rubik

Rubik programming problem - a better asymptotical solution