A simple Haskell program to step through a directed graph node-by-node.