More updates

Still moving to Python.
Now working on sorting IP addresses, removing duplicates, and getting
hostnames.