Add an option for empty lines
Added type annotations to the methods in CSVParser