Completes the task and returns the race of each line of the csv file