I hav an array m1=[1,2,3,4,5,6,7,9]
I want to convert it to m1=[[1,2,3],[4,5,6],[7,8,9]]
what can be the simplest and fastest way to do so?