added a function that downloads images from the last web resource page in the singleton.to_visit queue and saves it to the img directory.