Implement Bayesian Networks Algorithm For Rubiks Cube