updated program to use libcsv as the default parser
moved a free() further down to prevent a small memory leak
added line to gitignore, fixed regex on linux