Efficient modPow, solution to 133.