Artificial Intelligence and the Legal Profession