the first version of the parseCSV exercise, much less neat