public ArrayList<Intersection> getNeighbours(Intersection node) {
		ArrayList<Intersection> neighbours = new ArrayList<Intersection>();
		for (Segment seg : node.getEdges()) {
			if (seg.getNodeID1().equals(node)) {
				if (seg.getNodeID2() != null) {
					neighbours.add(seg.getNodeID2());
				}
			} else if (seg.getNodeID2().equals(node)) {
				if (seg.getNodeID1() != null) {
					neighbours.add(seg.getNodeID1());
				}
			}
		}
		return neighbours;
	}