Add string related algorithms.