Update algorithm.d

Minor doc correction foldl -> fold in reduce() documentation.