public bool areAdjacent(Vertex v, Vertex w)
 {
     foreach (Vertex cur in v.adjacentVertices())
     {
         if (cur.Equals(w))
         {
             return(true);
         }
     }
     return(false);
 }
	public bool areAdjacent(Vertex v, Vertex w)
	{
		foreach (Vertex cur in v.adjacentVertices())
			if (cur.Equals(w))
				return true;
		return false;
	}
 public IEnumerable <Vertex> adjacentVertices(Vertex v)
 {
     return(v.adjacentVertices());
 }
	public IEnumerable<Vertex> adjacentVertices(Vertex v)
	{
		return v.adjacentVertices();
	}