algorithm finished 1 param, strings for iteration and chromosome count