An updated version of the LinkedListImplementation.java