search engine: first draft of code and also (slightly desynchronized) chapter text!

Only that all of the files are in the same directory, so there's no need to worry about directories at all.