Update algorithm.txt