https://stackoverflow.com/questions/11318680/split-array-into-chunks-of-n-length
Anonymous
Choose portability over efficiency.