add .c file and modify readme