added an example for native module
added an exmaple to implement a native method