Simple search engine made in python