split_to_chunks: helper function to split a vector to approximately equally sized chunks
Description
helper function to split a vector to approximately equally sized chunks
Usage
split_to_chunks(vec, chunkSize)
Arguments
chunkSize
integer, how long should the chunks be?