Add gen_data to each algorithm directory