Update reverse linked list.java