Giving a Genetic Algorithm Control in a Physics Engine