Implement a function that takes in a string, and determines if the opening and closing parentheses in the given string are matching correctly returning the appropriate boolean value.
- (()()()())
- (((())))
- (()((())()))
- ((((((())
- ()))
- (()()(()
- There can be characters anywhere between, after or before the parenteses.
- Think about how can things go wrong, if the amount of opening & closing parentheses are the same.