Valid Parentheses
Boundary Condition:
consider just having left parenthese and right parenthese.
- Just having left parenthese: vector is not vacant at last.
- Just having right parenthese: vector is vacant when check for match.
consider just having left parenthese and right parenthese.