Example program to add documents to DocEngine