parse CSV from string implemented
added a few comments