pow(b, n) mod m

still useless for big (b, n)