find port masks for any port range, to minimize filter statements required to match the ports. this will generate just a filter statements for any port range specified.