Fred: Graph with path_to using NoPath class; duplicate code exists