node.js exercise using socket.IO