Fixed LinkedList set method.
Fixed proper exception handling for remove(int) method.