HM.LMIR.6.12: Use Fermat’s Little Theorem and Euler’s Theorem to simplify expressions of the form a^k mod m.