input: from typing import List
  
  def divide_parentheses_into_groups(paren_string: str) -> List[str]:
      """ This function accepts a string with several sets of nested parentheses. 
      The objective is to isolate these sets into individual strings and return them as a list.
      Each set is balanced (every opening parenthesis has a corresponding closing one) 
      and they are not nested within one another. Spaces in the input should be ignored.
      >>> divide_parentheses_into_groups('( ) (( )) (( )( ))')
      ['()', '(())', '(()())']
      """
output:     
      result = []
      current = []
      balance = 0
  
      for char in paren_string:
          if char == '(':
              if balance == 0:
                  current = []
              balance += 1
              current.append(char)
          elif char == ')':
              balance -= 1
              current.append(char)
              if balance == 0:
                  result.append(''.join(current))
      
      return result
  