Made node class a named tuple, reversed path thats found