Adding genetic algorithme