save the students into a csv file