The Impact of AI on the Legal Sector