Organization and Governance Using Algorithms