<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def steps(self, goal):
 """Get the list of individual relations leading to the targeted node Args: goal (str):
 Name of the targeted node Return: list of tuple of Node """


        path = self.path(goal)
        for i in range(len(path) - 1):
            yield path[i], path[i + 1]