solve reverse linked list 2