Useful function that cut a vector of strings into many vectors of strings depending on the input int