Adding some C code I wrote awhile back, and updating the README.