csv parser written in Scala