chunk method for splitting arrays into chunks of specified length

`_.chunk(arr, 3)` will return a 2 dimensional array grouped by 3 with a remainder array at the end.