generate an array of elements split into groups in specified layout
github.com/n0ruSh/to-grid
n0ruSh/to-grid