added a simple script to check if an IP is in a given subnet