Improve gen_netmask

Add arguments to allow specify the CIDR range that the netmask should be
generated.
Merge pull request #56 from elyezer/improve-gen-netmask

Improve gen_netmask