added chisq c example
nits