Add a solution of Longest Valid Parentheses.