Solving X^Y MOD N: Deciding Which Method to Use