gen_dgp_2periods function

Function that generates panel data with single treatment date assignment and two time periods.