Implementation of cs3157 lab8 using node.js based on https://github.com/jrbalsano/lab8