def matrix_mult(a, b):
    """
    Performs matrix multiplication on two given matrices.
    :param a: lists of lists containing integers.
    :param b: lists of lists containing integers.
    :return: the right hand side of the equation.
    """
    table = [[0 for x in range(len(b))] for x in range(len(a))]
    for i in range(len(a)):
        for j in range(len(a)):
            for k in range(len(a)):
                table[i][j] += a[i][k] * b[k][j]
    return table