first solution for solving a cube