Get Netmask using Number of Hosts