test correctness and performance of 14 different functions with pollards rho