Can you give me an example of reversing a linked list in c++