Finds optimal solutions for 4x4 cube.