Exploring Adaptive Agency II: Simulating the Evolution of Associative Learning