added modules
added ip.py and distance.py