correcting result for subnet mask, wildcard, number of hosts and broadcast.