updated graphs.py and wrote a wrapper, wrap_graphy.py