Genetic Algorithm simultaneous equations solver in C++