Add __init__
make write_graph more robust
nauty: fix orbits_of
randomGraph: add -O3