A classical artificial intelligence problem, known as the 8-Puzzle problem.