chunk method for splitting arrays into chunks of specified length
Merge pull request #1 from kevinmarx/chunkArray

chunk method for splitting arrays into chunks of specified length