def generate_init_pop(size, struct_set, board_size):
    pop = []
    for i in range(size):
        temp = HRMAsm(struct_set, board_size)
        temp.generate_asm()
        pop.append(temp)

    return pop
def generate_gen(population, pop_inc, struct_set, board_size):
    new_pop = []
    for i in range(pop_inc):
        temp = HRMAsm(struct_set, board_size)
        temp.generate_asm()
        mutate_asm(temp)
        new_pop.append(temp)

    population.extend(new_pop)