CSV parser written in C