public ArrayList<Edge> getEdges()
	{
		ArrayList<Edge> edges = new ArrayList<Edge>();
		
		for (Integer u : adjList.keySet())
		{
			for (Integer v : adjList.get(u))
			{
				boolean found = false;
				for (Edge e : edges)
				{
					if ((e.u == u && e.v == v) || (e.v == u && e.u == v))
					{
						found = true;
						break;
					}
				}
				if (!found)
				{
					edges.add(new Edge(u, v));
				}
			}
		}
		
		return edges;
	}