toy search engine, developed to run on large dataset