Corrected the extract_lines test, where the number of labels were not initialized.
Refactored the extract_lines sub, but it isn't right yet.
Module yaml2csv working properly