Added a description of the algorithm