Flows: Building Blocks of Reasoning and Collaborating AI