Write a method that removes all but the first two elements from a linked list, using an iterator. You may assume that the list has at least two elements.