input: def encode(text):
      """
      Write a function that accepts a text input and transforms it by swapping the case of each character. Additionally, for all vowels in the text, replace them with the letter located two positions later in the alphabet. 
      Only letters are considered. 
      
      Examples:
      >>> encode('test')
      'TGST'
      >>> encode('This is a message')
      'tHKS KS C MGSSCGG'
      """
output:     result = []
      for char in text:
          if char.isalpha():
              swapped = char.lower() if char.isupper() else char.upper()
              if swapped in 'aeiouAEIOU':
                  swapped = chr(ord(swapped) + 2)
              result.append(swapped)
          else:
              result.append(char)
      return ''.join(result)