changes to give the same output on call to print dependency graph.  Needed to change SimpleGraph and Edge classes.  In particular, Edge was using a HashMap which did not provide ordering guarantees.