Efficient modular exponentiation algorithms in Python | Hacker News Reader