Update LinkedList.java

Little testing in Main()