add list-to-array
I added a list-to-array function that takes a list of lists l and returns a 2-d array whose first dimension is the length of l and whose second dimension is the max length of the lists in l and whose contents are the elements of the lists in l.