Rubiks cube solver written in Haskell