Basic genetic algorithms built using C++ and Python