add several string algorithms