def productory(matrix_list):
    """
    Multiplies from lest to right the matrices in the list matrix_list.

    Arguments
    ----------
    matrix_list : list of numpy.ndarray
        List of matrices to be multiplied.

    Returns
    ----------
    M : numpy.ndarray
        Product of the matrices in matrix_list.
    """

    # start wiht the first elment and multy all the others
    A = matrix_list[0]
    for B in matrix_list[1:]:
        A = A.dot(B)

    return A