It works! It now finds a solution using DFS. We need to fix: getStatePathFromNode() though