Add info about algorithm to the readme