Finished all algorithms but modexpMont has a bug