search engine code - udacity.com, CS101