Update algorithms.md