Rubik's cube perspective of life