Extended Compact Genetic Algorithm in C