Implemented powerMod and computePiIntoHex

Signed-off-by: Hannah Young <hannah.olivia.young@gmail.com>
Implemented PiGenerator in its entirety.

Signed-off-by: Hannah Young <hannah.olivia.young@gmail.com>