input: Write a python function to classify objects into categories 'A' and 'B' based on specific object names.
  assert classify_objects(['objectA', 'objectB', 'objectC', 'objectD'])==['A', 'A', 'B', 'B']
  assert classify_objects(['objectA', 'objectC', 'objectA', 'objectD'])==['A', 'B', 'A', 'B']
  assert classify_objects(['objectB', 'objectD'])==['A', 'B']
output: def classify_objects(objects):
      category_map = {
          'objectA': 'A',
          'objectB': 'A',
          'objectC': 'B',
          'objectD': 'B'
      }
      return [category_map[obj] for obj in objects]