RefactorU wk6 exercise: Write a function that splits an array into a given number of equal-sized chunks.  The function should take two arguments: the input array and an integer equal to the number of chunks to split it into. The return value should be an array of arrays (these are the 'chunks').