Human Curriculum Effects Emerge with In-Context Learning in Neural Networks