Begginings of a serach engine in python