add init to Edge, Vertice, Graph