So for the programming quiz your goal is to define a fast modular exponentiation procedure--
call it mod underscore EXP--that takes as inputs A, B, and Q,
and returns the value of A raised to the B power mod Q,
and its running time should be linear in the size--
meaning the number of bits to represent the input B.
