Create Longest Valid Parentheses (pyemma)