Write a function that reverses the order of elements in a vector<int>.
For example, 1,3,5,7,9 becomes 9,7,5,3,1. The function should reverse the elements of its vector without using any other vectors (hint:swap).
What exactly are d1 and d2 doing in the function? Are you intending to only reverse the elements indexed from [d1, d2] inclusively? If so, use d1 and d2 instead of the values I said at the top.