allow LinkedList to be constructed with initial values