Learning and the Development of Cognition