Implementation of Korf's algorithm for finding the optimal solution for a given Rubik's cube.