113. Stack Two Matrices Along a New Axis

Medium

Given two 2-D arrays a and b of the same shape, stack them along a new third axis so the result has shape (rows, cols, 2), with a at index 0 and b at index 1 of that new axis.

Implement solve(...)