create a cons cell for a list of this array starting at the givenindex and up to to
redefines Cons.head:
redefines Cons.tail: