A simple web crawler in python