First of all, I am initializing an empty vector and I want to populate it whenever I call the function. I want the element added to be added to the empty vector and so on bu