Instead of calling a function, use a bunch of multiplications to do the exponentiation in naive_c.c