input: Write a function to create a Python dictionary that stores data about a student. The dictionary should include keys for 'name', 'year', 'gpa', 'courses', and 'extracurricular'. The function should take four parameters: `name` (a string), `year` (a string), `gpa` (a float), `courses` (a list of strings), and `extracurricular` (a list of strings). It should return the dictionary.
  
  assert create_student_data('John Smith', 'Freshman', 3.25, ['math', 'english', 'Computer Science', 'Statistics'], ['Chess Club', 'Student Government', 'Debate Team'])=={
      'name': 'John Smith',
      'year': 'Freshman',
      'gpa': 3.25,
      'courses': ['math', 'english', 'Computer Science', 'Statistics'],
      'extracurricular': ['Chess Club', 'Student Government', 'Debate Team']
  }
  assert create_student_data('Jane Doe', 'Sophomore', 3.75, ['history', 'chemistry', 'algebra'], ['Volunteer Club', 'Chess Club'])=={
      'name': 'Jane Doe',
      'year': 'Sophomore',
      'gpa': 3.75,
      'courses': ['history', 'chemistry', 'algebra'],
      'extracurricular': ['Volunteer Club', 'Chess Club']
  }
  assert create_student_data('Alice Johnson', 'Junior', 3.9, ['physics', 'literature', 'engineering'], ['Drama Club', 'Photography Club'])=={
      'name': 'Alice Johnson',
      'year': 'Junior',
      'gpa': 3.9,
      'courses': ['physics', 'literature', 'engineering'],
      'extracurricular': ['Drama Club', 'Photography Club']
  }
  assert create_student_data('', '', 0.0, [], [])=={
      'name': '',
      'year': '',
      'gpa': 0.0,
      'courses': [],
      'extracurricular': []
  }
output: return {'name': name, 'year': year, 'gpa': gpa, 'courses': courses, 'extracurricular': extracurricular}