adding pit2graph.py