Create encoded corpus.index

Draft version