refactored the code:
made CSVparse more general. moved sort -> fordeling