Example of using C extensions in Ruby