created importCSV function to import csv as a nested dictionary