Added random_length_pair for quicker test writing.
Added main()

Added powermod test method
Add rpowermod and powermod.
initial write