def transpose(matrix):
    """
    Compute the matrix transpose
    :param matrix: the matrix to be transposed,
        the transposing will not modify the input matrix
    :return: the transposed of matrix
    """
    _transposed = []
    for row in range(len(matrix)):
        _transposed.append(
            [matrix[i][row] for i in range(len(matrix))]
        )
    return _transposed