ch07: add vocab builder, and parts of the indexer