Code for "Searching" chapter