Added some C code for comparesio.nt