removed miller-rabin code.