solved p345
unsigned int modular exponentiation
fix warnings
solved p188