input: Write a python function to read a CSV file and return a dictionary where the keys are from the 'key' column and the values are from the 'value' column.
  assert read_csv_record('test1.csv') == {'a': '1', 'b': '2', 'c': '3'}
  assert read_csv_record('test2.csv') == {'key1': 'value1', 'key2': 'value2'}
  assert read_csv_record('test3.csv') == {}
output: def read_csv_record(file_path):
      import csv
  
      result = {}
      with open(file_path, newline='') as csvfile:
          reader = csv.DictReader(csvfile)
          for row in reader:
              result[row['key']] = row['value']
      return result