Zippin interview question

Write a code for matrix transpose.