This simple program asks you to print the transpose of the matrix.
A transpose of a matrix A can be defined as a matrix AT where AT[i][j]=A[j][i].
So the Transpose of a matrix with dimensions M x N has dimensions N x M.
It First gives an Integer T denoting Number of test cases.
Then Each Test case starts with two Intgeres on one line R and C,
denoting the number of rows and the number of columns respectively.
Then Follow R lines of input each containg C integers seperated by space.
For each Test case ,
N lines of Output each containing M integers which represent the transpose of above matrix.
1 2 3
4 5 6
1 2 3
Problem Setter : Arjun Singh Bhatia