Added initial code for validating IP addresses. Added initial set of tests as well.