http://en.wikipedia.org/wiki/Modular_exponentiation

added a modular exponentiation function for imath.h
Right-to-left binary method
Merge branch 'master' of https://github.com/xtaci/algorithms

Conflicts:
	Makefile