implemented CSV class + added 'not-converged-exception'

csv class holds the entire data in memory and provided
write-to-stream facilities