Update CsvParser, MapOutput

* CsvParser: Removed the use of ListBuffer as all needed operations are supported by Iterator. The function produceRes now takes an Iterator[String] as a parameter.
* MapOutput: Adpated to change of CsvParser.