Update linkedlistmethods.java