input: Write a python function to read the first 10 lines (excluding header) of a CSV file and return them as a list of dictionaries. Each dictionary should map the headers to their corresponding values. Use the string method strip() to remove extra whitespace.
  assert parse_file("beatles-diskography.csv")[0] == {'Title': 'Please Please Me', 'UK Chart Position': '1', 'Label': 'Parlophone(UK)', 'Released': '22 March 1963', 'US Chart Position': '-', 'RIAA Certification': 'Platinum', 'BPI Certification': 'Gold'}
  assert parse_file("beatles-diskography.csv")[9] == {'Title': '', 'UK Chart Position': '1', 'Label': 'Parlophone(UK)', 'Released': '10 July 1964', 'US Chart Position': '-', 'RIAA Certification': '', 'BPI Certification': 'Gold'}
output: def parse_file(file_name):
      with open(file_name, mode='r', encoding='utf-8') as file:
          lines = file.readlines()
      
      headers = [header.strip() for header in lines[0].strip().split(',')]
      data = []
      
      for line in lines[1:11]:  # Skip the header and read the next 10 lines
          values = [value.strip() for value in line.strip().split(',')]
          record = dict(zip(headers, values))
          data.append(record)
      
      return data