nodejs: Add chapter 2 examples

Signed-off-by: Filipe Leuch Bonfim <flb09@inf.ufpr.br>