Auto-Generated Curriculum for Reinforcement Learning