Finding Maximum And Minimum Algorithm For Rubiks Groove