completed assignment1, into to node.js