Added some more algorithms for testing things out, implemented basic TREC query driver based on the sample in the javadocs.