Parentheses Balance C++