updated stream configuration, removed the use of the util module, and implemented stdout.write() for outputting to the console
console.log() was process.stdout.write() and bruce willis the whole time