public static Snake crossover(Snake parent1, Snake parent2) {
		Snake child = new Snake();
				
		int takenFromOne = 0;
		for(int i = 0; i < 6; i++) {
			Gene g = parent1.getGenes()[i];
			child.setGene(takenFromOne, g);
			takenFromOne++;
		}
		
		int takenFromTwo = 3;
		for(int i = 3; i < 6; i++) {
			if(takenFromTwo < 6) {
				for(Gene gene : child.getGenes()) {
					for(Gene g : parent2.getGenes()) {
						if(!child.containsGene(g)) {
							child.setGene(child.getIndex(gene), g);
						}
					}
				}
			}
		}
		System.out.println(child);
		return child;
	}