printResults method added.
Next step is to store some data in the MongoDB database.