GeneralizedCut Functions and n-AryBlockCodes onUP-Algebras