Simple example of using Ruby's FFI