Improved LinkedList's internal iteration methods.
Fixed add(int, Object) inserting the element on the wrong index.