Automatic Goal Generation for Reinforcement Learning Agents