small refactor change for the Array extension
edit gitignore to ignore log generated by node.js