Array util functions now modify the object
Added more array util functions