input: Write a function to determine if a string has matching parentheses. A string has matching parentheses if for every opening parenthesis '(', there is a corresponding closing parenthesis ')'. The function should return True if all parentheses match, and False otherwise. If the string is empty, it should return True.
  assert matching_paren("((()))") == True
  assert matching_paren("()()()") == True
  assert matching_paren("((())") == False
  assert matching_paren(")(") == False
  assert matching_paren("") == True
output: def matching_paren(s):
      count = 0
      for char in s:
          if char == '(':
              count += 1
          elif char == ')':
              count -= 1
          if count < 0:
              return False
      return count == 0