Changed base class Graph's AddEdge method to accept edge instead of two nodes
Changed AddEdge method to accept edge instead of two nodes in accordance with base class