A team-based coevolutionary approach to multi agent learning