A collection of string processing algorithms