add solution for reverse_linked_list_2