input: Write a python function to implement Caesar cipher with character wrapping.
  assert caesar_cipher("abc", 1) == "bcd"
  assert caesar_cipher("xyz", 3) == "abc"
  assert caesar_cipher("Hello, World!", 5) == "Mjqqt, Btwqi!"
output: def caesar_cipher(text, shift):
      result = []
      for char in text:
          if char.isalpha():
              start = ord('A') if char.isupper() else ord('a')
              shifted_char = chr(start + (ord(char) - start + shift) % 26)
              result.append(shifted_char)
          else:
              result.append(char)
      return ''.join(result)