Building Responsible AI Algorithms