Constructing Skill Trees for Reinforcement Learning Agents from Demonstration Trajectories