factory.py added.
make_cyclic added.
Graph factory changed.