Test of writing a C extension for Ruby