Added the algorithm to the README.