public Labyrinth(LinkedList<Edge> edges){
		this._edges = edges;
		Iterator<Edge> _iter = edges.iterator();
		while(_iter.hasNext()){
			Edge _edge = _iter.next();
			if(!this._nodes.containsValue(_edge.getNodeA())){
				this._nodes.put(_edge.getNodeA().getId(), _edge.getNodeA());
			}
			if(!this._nodes.containsValue(_edge.getNodeB())){
				this._nodes.put(_edge.getNodeB().getId(), _edge.getNodeB());
			}
		}
	}