added increment_end_digits to string_algo