String c1 = "";
String c2 = "";
int size = chromosome1.getLength();
for (int i = 0; i < size; i++) {
if(Math.random() <= 0.5){
<BUG>c1 = (String)chromosome1.getGene(i);

c2 = (String)chromosome2.getGene(i);
</BUG>
}

String c1 = "";
String c2 = "";
int size = chromosome1.getLength();
for (int i = 0; i < size; i++) {
if(Math.random() <= 0.5){
c1 = chromosome1.getGene(i).toString();
c2 = chromosome2.getGene(i).toString();
}
