Added method to reverse order of items in linked list