So this code is suppposed to find the vector between two vectors that a user inputs. The program builds just fine, but when I run the program, it gets stuck on the function that is supposed to generate the union of the two vectors (marked in the code).