My attempt for creating a small search engine