A (pretty slow) solution to the n^2-1 puzzle using pathfindng algorithms.