add Next premutation and its test
add longest valid parentheses, buggy