Added hashlib for md5 of url, altered else case in program logic
Lots of changes.