Better validIP Method

Updated the 'validIP' helper method to return True if the IP is actually
valid, unlike the regex version, which returned True even if the IP was
'999.999.999.999'
Also fixed a few spelling errors that I came across.