Addition of a (really poorly written) C example.