Amended code to match text
Corrected typo
Adapted code to current version of Database.MongoDB
Merge pull request #3 from tktan/my-suggestions

Everything looks good. Thanks!