I believe the indexing is working

Current test is for M=2 and 4 documents