Annotates searchengine.py for chapter 4