@Override
	public String toString()
	{
		String s = V + " vertices " + E + " edges\n";
		for (int v = 0; v < V; v++)
		{
			s += v + ": ";
			for (Integer w : adj(v))
				s += w + " ";
			s += "\n";
		}
		return s;
	}