Implementation of a genetic algorithm using C++ and Box2D