Path between two nodes in a undirected graph. Whenever backtracking occurs pop the node from the stack.