Add accepted word break ii by using non-recursive way