Adding correct implementation of remove() in LinkedList iterator.