Calculates the Prefix, and the address range for that prefix.
Using bitshift and logical AND (&) to split up the uint32 to uint8.
Using logical AND (&) to get the network prefix,
and logical XOR (^) to get the inverse value of the mask to calulate
the range of addresses for that prefix.