subnet.rb: use math instead of string magic
subnet.rb: added subnet mask
subnet.rb: add description