Create ip.py

Initial commit