A Genetic Algorithm implemented in C