private static void find(LinkedList<LinkedList<Integer>> disjointSets, int placeFrom, int placeTo, 
			boolean foundFrom, boolean foundTo, int positionFrom, int positionTo) {
		
		Iterator<LinkedList<Integer>> itr = disjointSets.iterator();
		
		foundFrom = false;
		foundTo = false;
		positionFrom = 0;
		positionTo = 0;
		
		while(itr.hasNext() && (!foundFrom || !foundTo)) {
			
			LinkedList<Integer> list = itr.next();
			
			if(!foundFrom) {
				
				if(list.contains(placeFrom)) {
					
					foundFrom = true;
					
				} else {
					
					positionFrom++;
					
				}
				
			}
			
			if(!foundTo) {
				
				if(list.contains(placeTo) && !foundTo) {
					
					foundTo = true;
					
				} else {
					
					positionTo++;
					
				}
				
			}
			
		}
		
	}