Added forEach helper to allow looping through usable IP addresses