This is implementation og the graph data structure for C++