Create pygraph.py