To run the code the following programs needs to installed a. nodejs
once node is installed then open command line type in the following commands for example: node index.js record stats.txt 3 4 5 67 76 node index.js summary stats.txt node index.js help
fileName could be anything it will create the file dynamically.