Add algorithm details to README.