private int findFreeId() {
		for (int i=0; i<corridors.length; i++) {
			if (corridors[i] == null) { //check if null's have to be put
				return i;
			}
		}
		
		int onGoingId = corridors.length;
		doubleSize();
		
		return onGoingId;
	}