started the modular pow function
pow_mod -> power_mod function works

There exists a bug in the power_mod_ui, dont use it just yet