An example of writing node addon using nan