added map to CSV convertor
changes made according to comments
Merge pull request #5 from cleandart/mapToCSV

added map to CSV convertor