Update find-path-solution.js