search-engine text updates

This finally includes all the code (except for the import statements)
in the chapter text.

I also added a little more explanation about generators.
search-engine: exit on ^C
search-engine: updated TODO