public bool containsGene(Cube c) { return(genes.Contains(c)); }
public void setGene(int index, Cube value) { genes[index] = value; fitness = 0; }