Code used to explain how to write a simple node module