Adding a MongoDB example with snippets