FFI Callbacks sample

I implemented a sample program to show a basic use of callbacks with FFI.