ip conversion scripts

convert ip to int and int to ip