Recursion and Backtracking with DSA | Paths