import os
import csv
def save numbered(infile, outfile):
param: infile (str) - a path to a Csv file, whose contents are being read
param: outfile (str) - a path to a Csv file, that will be generated/overwritten
The function reads the contents of the infile
and writes its numbered rows into outfile.
Row numbering starts at l.
If infile does not exist, does nothing (needs
import os and os.path.exists(...) function call.
Otherwise, returns the number of rows that were read/written.