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

I was really suggesting that *everything* be in the same directory, so there's no worrying about directories at all, just because it caused some confusion here and will probably cause confusion to readers, too.