RESHAPE function modifies the shape of a list.
The new shape is specified using a list of dimensions, the first being the outer dimension. Such a shape can be produced by
Note that the number of elements in the array must be compatible with the requested shape, i.e. the product of the dimensions must match the number of elements in the input list.