adding loops through various parameters of randomized algorithms in optimization problems--traveling salesman, four-peaks, and knapsack