input: Write a python function to retrieve a list of student names from the dataset.
  assert retrieve_student_names(data) == ['Bob', 'Alice']
  assert retrieve_student_names([]) == []
output: def retrieve_student_names(data):
      return [student['name'] for student in data if 'name' in student]