input: Write a function to encrypt a message using a Caesar cipher. The function should take in a string message and an integer shift, and return the encrypted message.
  assert caesar_encrypt("Hello, World!", 3) == "Khoor/#Zruog$"
  assert caesar_encrypt("Python", 5) == "Udymts"
  assert caesar_encrypt("Encryption", 10) == "Oybysxqbow"
  assert caesar_encrypt("ABCabc123", 2) == "CDEcde123"
  assert caesar_encrypt("", 5) == ""
output: def caesar_encrypt(message, shift):
      encrypted_message = ""
      for char in message:
          if char.isalpha():
              shift_amount = shift % 26
              if char.islower():
                  new_char = chr(((ord(char) - ord('a') + shift_amount) % 26) + ord('a'))
              else:
                  new_char = chr(((ord(char) - ord('A') + shift_amount) % 26) + ord('A'))
          else:
              new_char = char
          encrypted_message += new_char
      return encrypted_message