Search engine using python