Investigating the Zone of Proximal Development of Language Models for In-Context Learning