I have a function "link". It has 3 input parameters i, x, y. My problem is if the input i is the same number as i that already exists in the array ix, it replaces