Finalized a lot of testing. AND queries work for two words. Can also do single word queries. Can successfully add documents. Get a segfault when I try with both of the large files, but not when I try with one.