CSV output as matrix

edited the  i/o function to output the .csv to terminal as a 2d matrix .
Also made my own row/column counting function so that excel file may be
changed without editing the code