Original script pulled from https://community.rapid7.com/community/nexpose/blog/2013/05/08/creating-asset-groups-from-ips