<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def random_population(dna_size, pop_size, tune_params):
 """create a random population"""

    population = []
    for _ in range(pop_size):
        dna = []
        for i in range(dna_size):
            dna.append(random_val(i, tune_params))
        population.append(dna)
    return population