Implement `chunk(arr, size)` splitting `arr` into subarrays of length `size` (the last chunk may be shorter).
Run your code to see results.