adding simple-parse example
use fgets() rather than getline()
Merge pull request #214 from rdpoor/master

adding simple-parse example