Fixing off-by-one error and logging improvements
Merge pull request #18 from mrda/csv-parsing

Fixing off-by-one error and logging improvements