First working search engine (fixed)