Dynamic Programming Approach Algorithm For Rubiks Cube