input:
two-dimensional array of type int [][]
output:
The 2D input array is interpreted as matrix of size m x n. The operator transposes this matrix and returns a transposed version sized n x m.