Flexible Curriculum Planning