added code in itdeep_helper, which does the DFS to find the goal state
itdeep uses its helper function to find solutions