3. Reverse a Vector

Easy

Reverse the 1-D tensor a so the first element becomes the last and vice versa.

Implement solve(...)