Create input2graph.py