MongoDB Interview Question

Build the eventEmitter API found in the Node.js documentation