create method for getting the location from an IP