Quiz on Java LinkedList Class