script to turn binary IP address into decimal