Adding the make_model.r code. Used to create the iGraph model in R.