Hierarchical Learning for Robotic Assembly Tasks Leveraging LfD