Added comments tp ex2_reg.R