Describir: Programming-by-Demonstration of Reaching Motions using a Next-State-Planner