Add solution to reverse linked list ii