add next_permutation.
add lower_bound.