Given an m-by-n matrix whose elements are all 0, exchange rows with columns. Format: All rows end with 'n' (representing newline), including the last row. Constraints: 1 ≤ m,n ≤ 7