create a code that will read a file for an input which is a matrix,(rows and columns of the integers) and be able to output the transpose of it.
original matrix 3X4 transpose matrix 4X3
1 2 3 4 1 5 9
5 6 7 8 2 6 0
9 0 1 2 3 7 1
4 8 1