Fix error in representation of the directed graph.
Solution for p82.
Solution to p82 that builds on PATH from p81.