Now arrays functions take pointers to first and last elements of array