Iterative Prisoner Dilemma game using a genetic algorithm