Create IpAddress.cpp

A program to judge whether a string is a valid IP or not