How did our adaptive immune system evolve?