add print a linked list and reverse a linked list in place