initial commit of C code