use stack to find Longest Valid Parenthese