Calculating the possible paths between two points using IEnumerable string[] - C#