/** ArrayList of TreeSet helyett egy extra "Edge" osztályt használtam (szerintem így szebb.) */
public class Edge{
	public int i, j;
	public Edge(int i, int j){
		this.i=i;
		this.j=j;
	}
}
