private Resident makeChild(Resident man, Resident woman) {
		String genMan = man.getGeneticCode();
		String genWoman = woman.getGeneticCode();
		
		StringBuffer childGeneticCode = new StringBuffer();
		
		int genBit = 0;
		int step = 0;
		int [] parts = {1,1,2,4};
//		int pos = 0;
		while (genBit < Resident.GENES_BITS){
			int qtyBits = parts[step%parts.length];
			
			if (step%2 == 0){//primer y tercer posicion para la madre, 2da y 4ta para el padre. Indices 0 a 3
				childGeneticCode.append(genWoman.substring(genBit, genBit + qtyBits));
			} else {
				childGeneticCode.append(genMan.substring(genBit, genBit + qtyBits));
			}
			
			
//			pos+=qtyBits;
			genBit+=qtyBits;
			step++;
		}
		
		
		Resident child = Resident.createChild(childGeneticCode.toString());
		
		return child;
	}