Example genetic algorithm code for dev brown bag session