implement last, zip, scanl in arrays.roy