Implemented Graph with arches & nodes lists