Initial add of C code.