def localE(x, label, l):
    """
    Parmeters:
        x      The spin configuration on the Buckyball lattice.
        label  The one chosen site of the Buckyball lattice.
        l      The Buckyball lattice nearest node labels of one chosen site.
    Returns:
        E      The local energy on one site of the Buckyball lattice.
    """
    E = x[label]*x[int(l[label,0])]+x[label]*x[int(l[label,1])]+x[label]*x[int(l[label,2])]
    return E