Generate an array of all ips in a given subnet