A PHP-Class wich calculates subnetmasks and compares it with IPs