Concept Flow - reshape() for changing dimensions
Start with 1D or ND array
Call reshape(new_shape)
Check if total elements match
Create new array
Return reshaped array
reshape() changes the shape of an array if the total number of elements stays the same. If not, it gives an error.