input: Write a python function to invert a matrix using its transpose.
  assert (invert_matrix([[1, 2], [3, 4]]) == [[1, 3], [2, 4]])
  assert (invert_matrix([[5, 6, 7], [8, 9, 10]]) == [[5, 8], [6, 9], [7, 10]])
  assert (invert_matrix([[1]]) == [[1]])
output: def invert_matrix(matrix):
      return [list(row) for row in zip(*matrix)]