working csv program to import the data to the database