Array implementation of lists. basic functions work