Valid Parentheses: Pass, Using Stack Like array