Added the example for reformatting the linked list