The potential of artificial intelligence to help solve the crisis in our legal system