Code for 'Autonomous Reuse of Motor Exploration Trajectories' article.