OMG dat error in the modular exponentiation.
Merge branch 'master' of github.com:didrikjonassen/algdat