Updated algorithms.md