implement class IPAddress with a lot of methods and class Subnet with constructor only yet