simple search engine written in python