Implement an IPv4 Range Iterator | OpenAI Interview Question