updated: pMinusOne.R, RepeatedSquaring.R