A simple command line web crawler in python