Implemented the rest of the Go benchmarks in C.