Started working on code to make CSV file