a simple benchmark of pollards rho factoring using a common function. later I want to compare it with other functions.