Graph Representation In Cpp