A program to manipulate an IP address by bits into different amounts of values.
This code accepts an IP address split into a standard set of four values, then using bit addressing converts them to the following; a single value, four values, two values, or a single bit value.