Write a function that receives a string, which is an IP address without dots. Like this: "127001"
The function should print all valid IPs that you can get from that string by adding dots. For example, for "123123" there are many valid IPs:
- 123.1.2.3
- 1.23.12.3
- 1.2.31.23
...and so on. We need to print them all, in any order. For simplicity, let's say IP always has 3 dots.