Implemented LinkedList.java