Added logic to generate call graph data structure using the networkx library.