Algorithms can already do menial law tasks as well as a junior lawyer.