Providing function to check ip validation and convert CIDR notation to IP ranges. also allowing for single ips to be converted to long and back again