The Evolution of Legal Research: From Books to Algorithms