I\'m trying to build an array with unique paths. My representation of path is a string with delimiter for example 2|3|1|4. Which means that I can start in 2, go to
2|3|1|4