working C++ csv parser