The first iteration of miller-rabin-test implementation