I was wondering how to modify the clause recorrido/2 to print it in depth first search, I have this so far:
\'\'\'
recorrido(X,Z):- arco(X,Z), print(Z).