Integrable Boundary Conditions for the Hirota-Miwa Equation and Lie Algebras