input: Write a function that takes a string of brackets. If every opening bracket has a corresponding closing bracket, return True. Otherwise, return False.
  assert correct_bracketing("()")
  assert correct_bracketing("(()())")
  assert correct_bracketing("()()(()())()")
  assert correct_bracketing("()()((()()())())(()()(()))")
  assert not correct_bracketing("((()())))")
  assert not correct_bracketing(")(()")
  assert not correct_bracketing("(")
  assert not correct_bracketing("((((")
  assert not correct_bracketing(")")
  assert not correct_bracketing("(()")
  assert not correct_bracketing("()()(()())())(()")
  assert not correct_bracketing("()()(()())()))()")
  
output: def correct_bracketing(s):
      count = 0
      for char in s:
          if char == '(':
              count += 1
          elif char == ')':
              count -= 1
          if count < 0:
              return False
      return count == 0