Simple examples of how to use the java MongoDB driver