[LC] Added solution to reverse linked list 2.