modular exponentiation works
started shor's algorithm