input: Write a python function to compare the contents of two directories and print the new and deleted files.
  assert compare_dirs('dir1/', 'dir2/') == (['new_file1', 'new_file2'], ['deleted_file1', 'deleted_file2'])
  assert compare_dirs('dirA/', 'dirB/') == (['new_doc1', 'new_doc2'], ['removed_doc1', 'removed_doc2'])
output: import os
  
  def compare_dirs(dir1, dir2):
      set_dir1 = set(os.listdir(dir1))
      set_dir2 = set(os.listdir(dir2))
      
      new_files = list(set_dir2 - set_dir1)
      deleted_files = list(set_dir1 - set_dir2)
      
      return new_files, deleted_files