Updated tutorial.
Fixed bug when the CSV file has empty lines.