Beating the Tit for Tat: Using a Genetic Algorithm to Build an Effective Adaptive Behavior