A small programming puzzle: convert string to possible IPv4 addresses.