Update upd_hosts.py to match the newest version.

- PEP8 compliance
- I forgot to include 0.0.0.0 on the IP whitelist