Princeton researchers found that the brain excels at learning because it reuses modular “cognitive blocks” across many tasks.