initial import
Read in the data

data is read in, parsed, and pivoted.
read in next.
Selection and output working

Data is written out to file
Selection based on disatance and random workin:w