Hierarchies and tool-using strategies