input: Write a python function to encrypt a string using the Caesar Cipher.
  assert encrypt("HELLO", 3) == "KHOOR"
  assert encrypt("hello", 3) == "khoor"
  assert encrypt("HELLO WORLD", 5) == "MJQQT BTWQI"
  assert encrypt("hello world", 5) == "mjqqt btwqi"
  assert encrypt("abc xyz", 2) == "cde zab"
output: def encrypt(text, shift):
      encrypted = []
      for char in text:
          if char.isalpha():
              start = ord('A') if char.isupper() else ord('a')
              encrypted.append(chr((ord(char) - start + shift) % 26 + start))
          else:
              encrypted.append(char)
      return ''.join(encrypted)