Construct a Tree structure from a list of stanford parser dependencies