/** Detects if the solutions are the same */
 public boolean asFitAs(Dna defiant) {
   MinusXSquared d = (MinusXSquared) defiant;
   if (this.getY() == d.getY()) {
     return true;
   }
   return false;
 }
 /** As we want the maximum of the function, lower y's are less fit */
 public boolean lessFitThan(Dna defiant) {
   MinusXSquared d = (MinusXSquared) defiant;
   if (this.getY() < d.getY()) {
     return true;
   }
   return false;
 }