Create subnet_calculator.py