Learning Environments for Representational Growth and Cognitive Flexibility