42. Transpose a Matrix

Easy

Return the transpose of the 2-D tensor X (swap its rows and columns).

Implement solve(...)