upgrade an old work in nodes.js

this is a beginner programm training basic on nodes.js, this training
focus understing programming via nodes.js  and help beginner to
understand an other paradigms of programming.