Update algorithm(s).py