Moved number of iterations of random algorithm to constants file.