add cgi programming sample code in c