input: Write a python function to validate a password based on given criteria.
  assert validate_password("Password123!", 8, True, True) == True
  assert validate_password("password123", 8, True, True) == False
  assert validate_password("Password", 8, True, False) == True
  assert validate_password("Passw1!", 8, True, True) == False
output: def validate_password(password, min_length, require_digit, require_special):
      if len(password) < min_length:
          return False
      if require_digit and not any(char.isdigit() for char in password):
          return False
      if require_special and not any(char in "!@#$%^&*()-_+=" for char in password):
          return False
      return True