Part 2 of CSV file program