added gen_sim file to repo