public void RemoveEdge(WeightedEdge <T> edge)
 {
     edges.Remove(edge);
 }
 public void AddEdge(WeightedEdge <T> newEdge)
 {
     edges.Add(newEdge);
 }